package com.liming.common.pojo.vo.coupon.openfeign;

import com.liming.common.pojo.vo.coupon.BaseCouponVO;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import lombok.EqualsAndHashCode;

import java.io.Serializable;

/**
 * 为了解决序列化两次问题 而产生的冗余类
 * @author liming
 * @date 2025/1/19
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Schema(description = "远程调用优惠券VO")
public class FeignCouponVO extends BaseCouponVO implements Serializable {

    @Schema(description = "优惠券折扣值（以分为单位，整数型）")
    private Integer discountAmount;

    @Schema(description = "满减券使用门槛（以分为单位，整数型）")
    private Integer minPurchaseAmount;
}
